using System;
using GameFramework;

namespace StarForce
{
    public class EliminateItemData: EliminateItemDataBase
    {
        private string m_BgPath;
        
        /// <summary>
        /// 位置
        /// </summary>
        private int m_Post;

        /// <summary>
        /// 方块类型
        /// </summary>
        /// <returns></returns>
        private EliminateType m_EliminateType;

        private bool m_IsMove;

        public bool IsMove
        {
            get { return m_IsMove; }
            set { m_IsMove = value; }
        }

        public int Post
        {
            get { return m_Post; }
            set { m_Post = value; }
        }

        public EliminateType EliminateType
        {
            get { return m_EliminateType; }
            set { m_EliminateType = value; }
        }

        public string BgPath
        {
            get { return m_BgPath; }
            set { m_BgPath = value; }
        }

        public EliminateItemData(int post, EliminateType eliminateType, string bgPath,bool isMove = false) : base(post, eliminateType)
        {
            m_BgPath = bgPath;
            m_Post = post;
            m_IsMove = isMove;
            m_EliminateType = eliminateType;
        }
    }
}